package ExerciseTwo;

public class StringMethodTest {
	public static void main(String[] args) {
		/*
		 * String str = "sdgdf"; String str2 = "HDSFH"; int a = str.length();
		 * System.out.println(a); char ch = str.charAt(4); System.out.println(ch);
		 * boolean b = str.isEmpty(); System.out.println(b); String s =
		 * str2.toLowerCase(); System.out.println(s); String s1 = str.toUpperCase();
		 * System.out.println(s1); String sr = "   dsf  sfsa  "; String sa = sr.trim();
		 * System.out.println(sa); int c = str.compareTo(str2); System.out.println(c);
		 * String sb = str.substring(1); System.out.println(sb); String sc =
		 * str.substring(1, 4); System.out.println(sc);
		 */
		StringBuffer str = new StringBuffer();
		str.append('a');
		str.append('b');
		System.out.println(str);
	}

}
